From fae3b91ec7b1ebb9c5770f4d7a35c7a23b4ef4ba Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Thu, 3 Sep 2015 12:28:30 -0400 Subject: [PATCH] Fix syntax in build-script This has changed, apparently. --- src/doc/build-script.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/build-script.md b/src/doc/build-script.md index c4b7ec875..8e28e2600 100644 --- a/src/doc/build-script.md +++ b/src/doc/build-script.md @@ -329,7 +329,7 @@ portable, and standardized. For example, the build script could be written as: extern crate gcc; fn main() { - gcc::compile_library("libhello.a", &["src/hello.c"]).unwrap(); + gcc::compile_library("libhello.a", &["src/hello.c"]); } ``` -- 2.30.2